import baseConfig from "./baseConfig";
import i18n from "@/locales/index.js";

const { t } = i18n.global;

export class Humidity extends baseConfig {
  name = t("material.humidity");
  type = "Humidity";
  picName = "";
  humidityType = 0;
  humidityColor = "";
  humidityColorHeight = 0;
  constructor(obj = {}) {
    super();
    for (let key in obj) {
      this[key] = obj[key];
    }
  }
}

let humidity1 = new Humidity({
  length: 120,
  width: 40,
  picName: "humidity-6",
  name: t("material.humidity") + " 1",
  description: "6" + t("material.point") + " " + t("material.humidity"),
});

let humidity2 = new Humidity({
  length: 100,
  width: 40,
  picName: "humidity-3",
  name: t("material.humidity") + " 2",
  description: "3" + t("material.point") + " " + t("material.humidity"),
});

export default [humidity1, humidity2];
